package com.simple.gateway.test.sdk.service;

import com.simple.gateway.sdk.annotation.ApiProducerClazz;
import com.simple.gateway.sdk.annotation.ApiProducerMethod;
import org.springframework.stereotype.Service;

/**
 * 项目: simple-gateway
 * <p>
 * 功能描述:
 *
 * @author: WuChengXing
 * @create: 2023-08-09 22:30
 **/
@ApiProducerClazz(interfaceName = "用户服务", interfaceVersion = "1.0.0")
@Service
public class UserService {

    @ApiProducerMethod(methodName = "探测", uri = "/test/user/hi", httpCommandType = "POST", auth = 1)
    public String hi(String str) {
        return "hi " + str + " by api-gateway-sdk";
    }
}
